package com.igor.reporting.pages.problem;

import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.ioc.annotations.Inject;

import com.igor.reporting.dao.problem.ProblemDAO;
import com.igor.reporting.entities.problem.Problem;

public class View {

	@Inject
	private ProblemDAO ProblemDAO;

	@Property
	private Problem problem;

	void onActivate(Long id) {
		problem = ProblemDAO.find(id);
	}

}
